import { Loading } from 'element-ui';

export function appLoading(text, target) {
  if (!target) {
    target = '.app-page-content';
  }
	return Loading.service({
	  text: text,
	  target: target
	});
}
